/**
 * This class represents a  SingleCookie
 *
 */
@Author("David Schibl")
public class SingleCookie extends Cookie {
	
	private Dough dough=null;
	private Shape shape=null;
	
	public SingleCookie(Dough newdough, Shape newshape){
		dough=newdough;
		shape=newshape;
	}
	
	public SingleCookie (SingleCookie c) {
		//SingleCookie != null
		dough = c.dough;
		shape = c.shape;
		//doug != null shape != null
	}
	
	/**
	 * @return
	 * 		Returns a description of a cookie
	 */
	@Override
	@Author("Roman Puenguentzky")
	public String toString(){
		return "a " + shape.toString() + " shaped cookie, made of " + dough.toString();
	}
	
	/**
	 * Returns shape from the cookie
	 */
	@Author("Roman Puenguentzky")
	public Shape getShape () {
		return shape;
	}
	
	/**
	 * Returns dough from the cookie
	 */
	@Author("Roman Puenguentzky")
	public Dough getDough () {
		return dough;
	}

}
